import { Base } from '../../../utils/base.js';
class ClockIn extends Base {
      constructor() {
            super();
      }
          //打卡信息
          getSign(place, callback) {
            var param = {
              url: '/api/user/user/getPunchTheClock',
              type: "get",
              data: place,
              sCallback: function (data) {
                callback && callback(data);
              }
            };
            this.request(param);
          }
          
      //打卡
      postSign(place, callback) {
        var param = {
          url: '/api/user/user/postPunchTheClock',
          type: "post",
          data: place,
          sCallback: function (data) {
            callback && callback(data);
          }
        };
        this.request(param);
      }

      getStatic(place, callback) {
        var param = {
          url: '/api/user/user/get_static_punch',
          type: "get",
          data: place,
          sCallback: function (data) {
            callback && callback(data);
          }
        };
        this.request(param);
      }
};
export { ClockIn };